package cn.darkhorse.meswechat.service;

import cn.darkhorse.meswechat.dto.WxSendMessageDTO;
import com.wechat.pay.java.service.payments.nativepay.model.PrepayResponse;
import io.lettuce.core.ConnectionId;

/**
 * @description:
 * @author: mr.wang
 * @time: 2023/4/14 14:43
 */
public interface IWeChatService {
	
	/**
	 * 获取服务器token
	 */
	void getServerToken();
	
	
	/**
	 * 获取存储token
	 * @return
	 */
	String getToken();
	
	/**
	 * 获取二维码
	 * @return
	 */
	String getPicture();
	
	/**
	 * 二维码过期时间
	 * @return
	 */
	Long redisKeyExpireTime();
	
	
	/**
	 * 发送消息
	 * @param wxSendMessageDTO
	 * @return
	 */
	String sendMessage(WxSendMessageDTO wxSendMessageDTO);


	PrepayResponse prepay();
	
}
